set term x11 persist
# uncomment the next line to output as png image
#set terminal png

#save file to "apache-debian-metrics.png"
set output "apache-debian-metrics.png"

# graph a title
set title "ab -n 200 -c 20"

# nicer aspect ratio for image size
   set size 1,0.7

# y-axis grid
   set grid y

# x-axis label
   set xlabel "request"

# y-axis label
   set ylabel "response time (ms)"

# plot data from "app-metrics.plot" and "debian-metrics.plot" using column 9 with smooth sbezier lines
   plot "app-metrics.plot" using 9 smooth sbezier with lines title "localhost:", "debian-metrics.plot" using 9 smooth sbezier with lines title "test server:"